/*
 * Copyright 2010 Mttang.com All right reserved. This software is the
 * confidential and proprietary information of Mttang.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Mttang.com.
 */
package com.mttang.sys.biz.service;

import java.util.List;
import java.util.Map;

import com.mttang.sys.dto.TreeDTO;

/**
 * 类MenuService.java的实现描述：TODO 类实现描述 
 * @author acc 2010-6-1 上午11:19:35
 */
@SuppressWarnings("unchecked")
public interface DepartmentService {

	public List<TreeDTO> qryDept(Map<Object, Object> param);
	
	public TreeDTO qryDeptById(int deptId);

    public void addDept(Map<Object, Object> paraMap);

    public void mdfDept(Map<Object, Object> paraMap);

    public void delDept(Map<Object, Object> paraMap);

    /**部门查询
     * @param data
     * @return
     */
    
    public List<Map> queryDepAll(Map data);

    /**部门接口人指定
     * @param data
     * @return
     */
    public String addLeaderToDep(Map data);

    /**部门接口人修改
     * @param data
     * @return
     */
    public String updateLeaderToDep(Map data);

    /**部门信息查询(包括接口人)
     */
    public Map getDepInfo(Map paraMap);

    /**
     * 部门接口人查询
     */
    public Map getDepLeaderByDepId(Map paraMap);
    
}
